//
//  CNGasDataManager.h
//  CarNote
//
//  Created by linshili on 13-9-17.
//  Copyright (c) 2013年 linshili. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "CNGasInfo.h"

@interface CNGasDataManager : NSObject

+ (id)shareInstance;

- (BOOL)saveGasInfo:(CNGasInfo *)gasInfo;
- (NSArray *)queryGasInfoFromTimestamp:(NSUInteger)fromTimestamp toTimestamp:(NSUInteger)toTimestamp;
- (NSArray *)queryGasInfoFromIndex:(NSInteger)index withCount:(NSInteger)count;
- (NSInteger)gasInfoCount;
- (BOOL)deleteGasInfoWithTimestamp:(NSUInteger)timestamp;

@end
